﻿<%@ Page Title="" Language="C#" MasterPageFile="~/iCreateMasterPage.master" AutoEventWireup="true" CodeBehind="EmployeeList.aspx.cs" Inherits="iCreatePortal.WebForm22" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PageContentPlaceHolder" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>

    <table class="iCreatePage">
        <tr>
            <td class="iCreatePageLeftPanel" valign="top">
                &nbsp;<asp:Label ID="Label1" runat="server" Text="Employees" CssClass="iCreateContentLabel"></asp:Label><br />
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <asp:GridView ID="TasksGridView" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                            BorderStyle="None" EmptyDataText="&lt;No data to display&gt;" GridLines="None"
                            Width="800px" DataSourceID="XmlDataSource1">
                            <Columns>
                            <asp:CommandField EditText="Deactivate" InsertVisible="False" ShowCancelButton="False"
                                    ShowEditButton="True">
                                    <HeaderStyle CssClass="iCreateContentLabel" Width="40px" />
                                    <ItemStyle CssClass="iCreateHeaderLabel" Width="40px" />
                                </asp:CommandField>
                                <asp:BoundField HeaderText="ID">
                                    <HeaderStyle CssClass="iCreateContentLabel" Width="100px" />
                                    <ItemStyle CssClass="iCreateHeaderLabel" Width="100px" />
                                </asp:BoundField>
                                <asp:BoundField HeaderText="Name">
                                    <HeaderStyle CssClass="iCreateContentLabel" Width="200px"/>
                                    <ItemStyle CssClass="iCreateHeaderLabel" Width="200px"/>
                                </asp:BoundField>
                                <asp:BoundField HeaderText="Type">
                                    <HeaderStyle CssClass="iCreateContentLabel" Width="100px" />
                                    <ItemStyle CssClass="iCreateHeaderLabel" Width="100px" />
                                </asp:BoundField>
                                <asp:BoundField HeaderText="Level">
                                    <HeaderStyle CssClass="iCreateContentLabel" Width="100px" />
                                    <ItemStyle CssClass="iCreateHeaderLabel" Width="100px" />
                                </asp:BoundField>
                                <asp:BoundField HeaderText="Status">
                                    <HeaderStyle CssClass="iCreateContentLabel" Width="100px" />
                                    <ItemStyle CssClass="iCreateHeaderLabel" Width="100px" />
                                </asp:BoundField>
                            </Columns>
                            <SelectedRowStyle Font-Bold="True" Font-Italic="True" />
                        </asp:GridView>
                    </ContentTemplate>
                </asp:UpdatePanel>
                <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/App_Data/MyTasks.xml">
                </asp:XmlDataSource>
            </td>
            <td class="iCreatePageRightPanel" valign="top">
                <table align="left" cellpadding="0" cellspacing="0">
                    <tr>
                        <td>
                            <asp:HyperLink ID="HyperLink1" runat="server" CssClass="iCreateLinkLabel" NavigateUrl="~/DashboardH.aspx">&nbsp;My Tasks</asp:HyperLink>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:HyperLink ID="HyperLink2" runat="server" CssClass="iCreateLinkLabel" NavigateUrl="~/NewEmployee.aspx">&nbsp;New Employee</asp:HyperLink>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
